<div class="det">

    {{#if loginUser}}
        {{>loginedSide}}
    {{else}}
        <div class="box">

            <div>CNode：Node.js专业中文社区</div>
            <div>
                您可以<a href="/login">登录</a>或<a href="/reg">注册</a><br>
                <a href="/auth/github">通过Github登录</a>
            </div>

        </div>
    {{/if}}

    <div class="box">
        <p>无人回复的话题</p>
        <ul class="no">
            {{#each noReplies}}
                <li><a href="/article/{{_id}}">{{title}}</a></li>
            {{else}}
                <div class="noData">没有数据。。。</div>
            {{/each}}
        </ul>
    </div>

    <div class="box">
        <p>积分榜&emsp;&emsp;<a href="/users/top100">Top100>></a></p>
        <ul>
            {{#each top10}}
                <li><span>{{score}}</span>&emsp;<a href="/user/{{_id}}">{{name}}</a></li>
            {{else}}
                <div class="noData">没有数据。。。</div>
            {{/each}}
        </ul>
    </div>

    {{>friendshipSide}}
</div>